ManifestReader Constructor (PackageReader, ManifestReaderSettings)

Create a ManifestReader object that provides access to information within the manifest.

Parent Type: ManifestReader

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public ManifestReader (
PackageReader packageReader,
ManifestReaderSettings manifestSettings

)

Parameters

packageReader

The PackageReader to use that contains the manifest.

manifestSettings

The ManifestReaderSettings to use when parsing the manifest. Cannot be null.

Exceptions
Exception type Condition
InvalidPackageException

There is no valid manifest in the packageReader.

Remarks

The caller should not dispose the PackageReader during the lifetime of this object.